﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MoveView.MyMath
{
    public struct XYZ
    {
        public double x, y, z;

        public XYZ(double x, double y, double z)
        {
            this.x = x;
            this.y = y;
            this.z = z;
        }

        public List<double> ToList()
        {
            var res = new List<double>();
            res.Add(x);
            res.Add(y);
            res.Add(z);
            return res;
        }
    }
}
